#include "StdAfx.h"
#include "UMM_ChangePage.h"
#include "MessageManager.h"


namespace MODULE_MESSAGES
{
	namespace UI_MODULE
	{
		UMM_ChangePage::UMM_ChangePage(void)
		{
			m_MessageID=eUMM_ChangePage;
		}

		UMM_ChangePage::~UMM_ChangePage(void)
		{
		}

		_FOGGE_::_MSG_::Message* UMM_ChangePage::MessageConstructor()
		{
			return static_cast<_FOGGE_::_MSG_::Message*>(foNEW UMM_ChangePage);
		}

		void UMM_ChangePage::Register(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->RegisterMessage(eUMM_ChangePage,MessageConstructor);
		}
		void UMM_ChangePage::Unregister(_FOGGE_::_MSG_::MessageManager* ptrMessagaManager)
		{
			ptrMessagaManager->UnRegisterMessage(eUMM_ChangePage);
		}
	}
}